package org.wdcode.shop.action;

import org.wdcode.back.action.BaseBackHelperAction;
import org.wdcode.base.interfaces.service.Service;
import org.wdcode.shop.helper.EssayInfoHelper;
import org.wdcode.shop.helper.EssaySortHelper;
import org.wdcode.shop.helper.LeaveWordHelper;
import org.wdcode.shop.helper.OrderFormHelper;
import org.wdcode.shop.helper.ProductInfoHelper;
import org.wdcode.shop.helper.ProductSortHelper;
import org.wdcode.shop.helper.RevertWordHelper;
import org.wdcode.shop.helper.ScreenWordHelper;

/**
 * 购物系统有助手类的Action
 * @author WD
 * @since JDK6
 * @version 1.0 2009-11-29
 */
public abstract class BaseShopHelperAction<S extends Service<E>, E> extends BaseBackHelperAction<S, E> {
	// 序列化 ID
	private static final long	serialVersionUID	= 4794193462541756315L;

	/**
	 * 获得留言助手
	 * @return 订单助手
	 */
	public final LeaveWordHelper getLeaveWordHelper() {
		return LeaveWordHelper.getHelper();
	}

	/**
	 * 获得文章分类助手
	 * @return 文章分类助手
	 */
	public final EssaySortHelper getEssaySortHelper() {
		return EssaySortHelper.getHelper();
	}

	/**
	 * 获得文章助手
	 * @return 文章助手
	 */
	public final EssayInfoHelper getEssayInfoHelper() {
		return EssayInfoHelper.getHelper();
	}

	/**
	 * 获得产品助手
	 * @return 产品助手
	 */
	public final ProductInfoHelper getProductInfoHelper() {
		return ProductInfoHelper.getHelper();
	}

	/**
	 * 获得产品分类助手
	 * @return 产品分类助手
	 */
	public final ProductSortHelper getProductSortHelper() {
		return ProductSortHelper.getHelper();
	}

	/**
	 * 获得回复留言助手
	 * @return 回复留言助手
	 */
	public final RevertWordHelper getRevertWordHelper() {
		return RevertWordHelper.getHelper();
	}

	/**
	 * 获得屏蔽关键字助手
	 * @return 屏蔽关键字助手
	 */
	public final ScreenWordHelper getScreenWordHelper() {
		return ScreenWordHelper.getHelper();
	}

	/**
	 * 获得订单助手
	 * @return 订单助手
	 */
	public final OrderFormHelper getOrderFormHelper() {
		return OrderFormHelper.getHelper();
	}
}
